# -*- coding: utf-8 -*-
from __future__ import unicode_literals

from django.db import models, migrations
from django.conf import settings


class Migration(migrations.Migration):

    dependencies = [
        migrations.swappable_dependency(settings.AUTH_USER_MODEL),
    ]

    operations = [
        migrations.CreateModel(
            name='Account',
            fields=[
                ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
                ('nickname', models.CharField(max_length=40, null=True, verbose_name='\u6635\u79f0', blank=True)),
                ('truename', models.CharField(max_length=40, null=True, verbose_name='\u5b9e\u540d', blank=True)),
                ('phone', models.CharField(max_length=20, unique=True, null=True, verbose_name='\u624b\u673a\u53f7', blank=True)),
                ('active_token', models.CharField(max_length=40, null=True, verbose_name='\u9a8c\u8bc1token', blank=True)),
                ('is_valid', models.BooleanField(default=False, verbose_name='\u662f\u5426\u9a8c\u8bc1')),
                ('last_login', models.DateTimeField(auto_now=True, verbose_name='\u767b\u5f55\u65f6\u95f4')),
                ('user', models.OneToOneField(to=settings.AUTH_USER_MODEL)),
            ],
            options={
                'verbose_name_plural': '\u8d26\u53f7',
            },
            bases=(models.Model,),
        ),
    ]
